import os

from langchain_openai import ChatOpenAI

model = "chatglm3-130b-fc-v1.0"
base_url = "https://ark.cn-beijing.volces.com/api/v3"
api_key = os.environ.get("ARK_API_KEY")

llm = ChatOpenAI(
    api_key=api_key,  # 替换为你的DeepSeek API密钥
    base_url=base_url,  # DeepSeek API端点
    model=model,  # 指定模型名称
    temperature=0.2  # 降低随机性，使结果更稳定
)
